//
//  PPTToImageToolinWKWeb.h
//  PPTToImage
//
//  Created by tql on 2020/8/19.
//  Copyright © 2020 alex. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import <WebKit/WebKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface PPTToImageToolinWKWeb : NSObject


@property (nonatomic, weak) UIView *parentView;

/**
 PPT转图片
 
 @param pptFileUrl   ppt 本地路径
 @param progress     转换进度 0-1
 @param completion   转换后的图片数组
 */
- (void)pptToImageWithPPTFileUrl: (NSString *) pptFileUrl
                        progress: (void (^)(CGFloat value)) progress
                      completion: (void (^)(NSArray * images)) completion;


@end

NS_ASSUME_NONNULL_END
